projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8898289
)
compulab: eeprom: add default eeprom bus
author
Nikita Kiryanov
<
[email protected]
>
Wed, 17 Sep 2014 12:59:25 +0000
(15:59 +0300)
committer
Albert ARIBAUD
<
[email protected]
>
Thu, 9 Oct 2014 08:44:59 +0000
(10:44 +0200)
Add default eeprom bus setting.
This addresses the trimslice compile error that was introduced
with the addition of this setting.
Cc: Albert ARIBAUD <
[email protected]
>
Cc: Igor Grinberg <
[email protected]
>
Signed-off-by: Nikita Kiryanov <
[email protected]
>
Acked-by: Igor Grinberg <
[email protected]
>
board/compulab/common/eeprom.c
patch
|
blob
|
history
diff --git
a/board/compulab/common/eeprom.c
b/board/compulab/common/eeprom.c
index 85442cd10314ae3be4bc10e0a33caf35106f32d5..2df3adabf8b3dd097fcfcb6006b7d6baa10bbafe 100644
(file)
--- a/
board/compulab/common/eeprom.c
+++ b/
board/compulab/common/eeprom.c
@@
-15,6
+15,10
@@
# define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
#endif
+#ifndef CONFIG_SYS_I2C_EEPROM_BUS
+#define CONFIG_SYS_I2C_EEPROM_BUS 0
+#endif
+
#define EEPROM_LAYOUT_VER_OFFSET 44
#define BOARD_SERIAL_OFFSET 20
#define BOARD_SERIAL_OFFSET_LEGACY 8